package com.dgut.lotterySystem.common.errorcode;

public interface ServiceErrorCodeConstants {
    //----------------人员状态错误码---------------
    ErrorCode REGISTER_PARAM_NULL=new ErrorCode(100,"注册信息为空");
    ErrorCode NAME_ERROR=new ErrorCode(101,"姓名有误");
    ErrorCode MAIL_ERROR=new ErrorCode(102,"邮箱格式有误");
    ErrorCode PHONE_NUMBER_ERROR=new ErrorCode(103,"手机号码格式有误");
    ErrorCode PASSWORD_IS_EMPTY=new ErrorCode(104,"密码为空");
    ErrorCode PASSWORD_ERROR=new ErrorCode(105,"密码有误");
    ErrorCode IDENTITY_ERROR=new ErrorCode(106,"身份有误");
    ErrorCode MAIL_USED=new ErrorCode(107,"邮箱被使用");
    ErrorCode PHONE_NUMBER_USED=new ErrorCode(108,"电话号码被使用");
    ErrorCode LOGIN_PARAM_NULL=new ErrorCode(109,"登录信息为空");
    ErrorCode LOGIN_PARAM_ERROR=new ErrorCode(110,"登录信息错误");
    ErrorCode USER_INFO_NOT_EXISTS=new ErrorCode(110,"登录信息错误");
    ErrorCode LOGIN_PARAM_IDENTITY_ERROR=new ErrorCode(110,"登录信息身份错误");
    ErrorCode VERIFICATION_CODE_ERROR=new ErrorCode(111,"验证码错误");


    //----------------活动状态错误码---------------
    ErrorCode ACTIVITY_ALL_PARAM_NULL=new ErrorCode(201,"活动创建所有信息为空");
    ErrorCode ACTIVITY_PARAM_NULL=new ErrorCode(202,"活动信息为空");
    ErrorCode ACTIVITY_USER_INFO_ERROR=new ErrorCode(203,"活动人员信息错误");
    ErrorCode ACTIVITY_USER_INFO_NOT_EXISTS=new ErrorCode(204,"活动人员信息不存在");
    ErrorCode ACTIVITY_PRIZE_INFO_ERROR=new ErrorCode(205,"活动奖品信息错误");
    ErrorCode ACTIVITY_PRIZE_INFO_NOT_EXISTS=new ErrorCode(206,"活动奖品信息不存在");

    ErrorCode ACTIVITY_USER_PRIZE_AMOUNT_ERROR=new ErrorCode(207,"奖品数量和参加活动人数异常");
    ErrorCode ACTIVITY_DETAIL_ID_ERROR=new ErrorCode(208,"获取活动信息，活动id错误");
    ErrorCode ACTIVITY_ID_IS_NULL=new ErrorCode(209,"更新活动缓存，活动id为空");
    ErrorCode ACTIVITY_ID_ERROR=new ErrorCode(210,"更新活动缓存，活动id错误");



    //----------------奖品状态错误码---------------
    ErrorCode PRIZE_SAVE_ERROR=new ErrorCode(301,"奖品创建错误");
    ErrorCode PRIZE_TIERS_ERROR=new ErrorCode(302,"奖品等级错误");

    //----------------抽奖状态错误码---------------
    ErrorCode ACTIVITY_PRIZE_PARAM_NULL=new ErrorCode(400,"抽奖活动参数为空");
    ErrorCode ACTIVITY_OR_PRIZE_NULL=new ErrorCode(401,"抽奖活动或者活动奖品不存在");
    ErrorCode ACTIVITY_COMPLETED=new ErrorCode(402,"抽奖活动已经结束，无法抽奖");
    ErrorCode ACTIVITY_PRIZE_COMPLETED=new ErrorCode(403,"抽奖活动奖品被抽完，无法抽奖");
    ErrorCode ACTIVITY_PRIZE_USER_AMOUNT_UNEQUAL=new ErrorCode(404,"抽奖活动中奖人数和奖品数量不相等");
    ErrorCode ACTIVITY_STATUS_CONVERT_ERROR=new ErrorCode(405,"活动转化失败");
    ErrorCode ACTIVITY_DETAIL_UPDATE_ERROR=new ErrorCode(406,"更新活动新状态缓存异常");

    //----------------图片错误码---------------
    ErrorCode PICTURE_SAVE_ERROR=new ErrorCode(501,"图片上传错误");

}
